package info.yangguo.pojo;

/**
 * @author:杨果
 * @date:16/10/3 上午10:29
 *
 * Description:
 *
 */
public class Message11Pojo {
    /**
     * 日期,格式只能为dd(日),年月省略
     */
    private String date;
    /**
     * 时间,格式为hhmmss(时分秒)
     */
    private String time;
    /**
     * 运动步数
     */
    private int stepNo;
    /**
     * 终端状态
     */
    private Status status;
    /**
     * 终端告警
     */
    private Warning warning;
    /**
     * 电池电量,0-100
     */
    private int power;
    /**
     * CDMA信号强度
     */
    private int cdma;
    /**
     * 速度
     */
    private int speed;
    /**
     * 方向
     */
    private String direction;
    /**
     * 维度
     */
    private String latitude;
    /**
     * 经度
     */
    private String longitude;
    /**
     * 定位类型
     */
    private String locationType;
    /**
     * 卫星数量
     */
    private int satelliteNo;
    /**
     * 基站信息
     */
    private BaseStationInfo[] baseStationInfos;
    /**
     * WIFI信息
     */
    private WIFIInfo wifiInfo;


    /**
     * 终端状态
     */
    public static class Status {
        /**
         * SOS告警
         */
        public boolean S0;
        /**
         * 追踪模式开启状态
         */
        public boolean S1;
        /**
         * 电量低
         */
        public boolean S2;
        /**
         * 免打扰模式开启
         */
        public boolean S3;
        /**
         * 关机类型,0为低电量关机,1为远程关机
         */
        public String S4;
        /**
         * 关机告警
         */
        public boolean S5;
        /**
         * 开机类型,预留,暂时设置为0
         */
        public boolean S6;
        /**
         * 开机通知
         */
        public boolean S7;

        public boolean isS0() {
            return S0;
        }

        public void setS0(boolean s0) {
            S0 = s0;
        }

        public boolean isS1() {
            return S1;
        }

        public void setS1(boolean s1) {
            S1 = s1;
        }

        public boolean isS2() {
            return S2;
        }

        public void setS2(boolean s2) {
            S2 = s2;
        }

        public boolean isS3() {
            return S3;
        }

        public void setS3(boolean s3) {
            S3 = s3;
        }

        public String getS4() {
            return S4;
        }

        public void setS4(String s4) {
            S4 = s4;
        }

        public boolean isS5() {
            return S5;
        }

        public void setS5(boolean s5) {
            S5 = s5;
        }

        public boolean isS6() {
            return S6;
        }

        public void setS6(boolean s6) {
            S6 = s6;
        }

        public boolean isS7() {
            return S7;
        }

        public void setS7(boolean s7) {
            S7 = s7;
        }
    }

    /**
     * 终端告警
     */
    public static class Warning {
        /**
         * 休眠模式开启
         */
        public boolean W0;
        /**
         * 关闭类型,00到期关闭,01摇一摇关闭,10低电量关机前发起关闭,11SOS发起关闭.
         */
        public String W1;
        /**
         * 关闭休眠模式
         */
        public boolean W2;
        /**
         * 表脱离提醒
         */
        public boolean W3;
        /**
         * 免打扰关闭
         */
        public boolean W4;
        /**
         * 终端静止,根据三轴判断终端在上一次上报位置信息后是否是静止。如静止该状态位设置为1
         */
        public boolean W5;
        /**
         * 保留
         */
        public boolean W6;

        public boolean isW0() {
            return W0;
        }

        public void setW0(boolean w0) {
            W0 = w0;
        }

        public String getW1() {
            return W1;
        }

        public void setW1(String w1) {
            W1 = w1;
        }

        public boolean isW2() {
            return W2;
        }

        public void setW2(boolean w2) {
            W2 = w2;
        }

        public boolean isW3() {
            return W3;
        }

        public void setW3(boolean w3) {
            W3 = w3;
        }

        public boolean isW4() {
            return W4;
        }

        public void setW4(boolean w4) {
            W4 = w4;
        }

        public boolean isW5() {
            return W5;
        }

        public void setW5(boolean w5) {
            W5 = w5;
        }

        public boolean isW6() {
            return W6;
        }

        public void setW6(boolean w6) {
            W6 = w6;
        }
    }

    public static class WIFIInfo {
        private String wifi1;
        private String wifi2;
        private String wifi3;
        private String wifi4;
        private String MAC;
        private int RSSI;

        public String getWifi1() {
            return wifi1;
        }

        public void setWifi1(String wifi1) {
            this.wifi1 = wifi1;
        }

        public String getWifi2() {
            return wifi2;
        }

        public void setWifi2(String wifi2) {
            this.wifi2 = wifi2;
        }

        public String getWifi3() {
            return wifi3;
        }

        public void setWifi3(String wifi3) {
            this.wifi3 = wifi3;
        }

        public String getWifi4() {
            return wifi4;
        }

        public void setWifi4(String wifi4) {
            this.wifi4 = wifi4;
        }

        public String getMAC() {
            return MAC;
        }

        public void setMAC(String MAC) {
            this.MAC = MAC;
        }

        public int getRSSI() {
            return RSSI;
        }

        public void setRSSI(int RSSI) {
            this.RSSI = RSSI;
        }
    }

    /**
     * 基站信息
     */
    public static class BaseStationInfo {
        public int CELLID;
        public int LAC;
        public String MNC;
        public String MCC;
        public int signal;

        public int getCELLID() {
            return CELLID;
        }

        public void setCELLID(int CELLID) {
            this.CELLID = CELLID;
        }

        public int getLAC() {
            return LAC;
        }

        public void setLAC(int LAC) {
            this.LAC = LAC;
        }

        public String getMNC() {
            return MNC;
        }

        public void setMNC(String MNC) {
            this.MNC = MNC;
        }

        public String getMCC() {
            return MCC;
        }

        public void setMCC(String MCC) {
            this.MCC = MCC;
        }

        public int getSignal() {
            return signal;
        }

        public void setSignal(int signal) {
            this.signal = signal;
        }
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getStepNo() {
        return stepNo;
    }

    public void setStepNo(int stepNo) {
        this.stepNo = stepNo;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public Warning getWarning() {
        return warning;
    }

    public void setWarning(Warning warning) {
        this.warning = warning;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public int getCdma() {
        return cdma;
    }

    public void setCdma(int cdma) {
        this.cdma = cdma;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLocationType() {
        return locationType;
    }

    public void setLocationType(String locationType) {
        this.locationType = locationType;
    }

    public int getSatelliteNo() {
        return satelliteNo;
    }

    public void setSatelliteNo(int satelliteNo) {
        this.satelliteNo = satelliteNo;
    }

    public BaseStationInfo[] getBaseStationInfos() {
        return baseStationInfos;
    }

    public void setBaseStationInfos(BaseStationInfo[] baseStationInfos) {
        this.baseStationInfos = baseStationInfos;
    }

    public WIFIInfo getWifiInfo() {
        return wifiInfo;
    }

    public void setWifiInfo(WIFIInfo wifiInfo) {
        this.wifiInfo = wifiInfo;
    }
}
